<template>
	<view class="sys_messageCell">
		<view class="time">{{$time.dateFormat('yyyy-mm-dd HH:MM', item.createTime)}}</view>
		<view class="main">
			<view class="messageCont">{{item.content}}</view>
		</view>
	</view>
</template>

<script>
	export default{
		props:{
			item: {
				type: Object,
				default: {}
			}
		},
		data() {
			return {
			}
		},
		methods:{
			formatTime(time){
				return this.$time.formatTime(time)
			},
		}
	}
</script>

<style lang="scss" scoped>
	.sys_messageCell{
		display: flex;
		flex-direction: column;
		align-items: center;
		margin-top: 20rpx;
		.time{
			margin-top: 30rpx;
			padding: 0 10rpx;
			font-size: 24rpx;
			color: #999999;
		}
		.main{
			margin-top: 30rpx;
			width: 690rpx;
			background-color: #FFFFFF;
			padding: 20rpx;
			border-radius: 20rpx;
			color: #999999;
		}
	}
</style>
